@import '../global.less';

.el-checkbox,
.el-checkbox__input {
  cursor: pointer;
  display: inline-block;
  position: relative;
}

.el-checkbox,
.el-checkbox-button__inner {
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  white-space: nowrap;
}

.el-table .hidden-columns,
.el-table td.is-hidden > *,
.el-table th.is-hidden > *,
.el-table--hidden {
  visibility: hidden;
}

.el-checkbox__input {
  white-space: nowrap;
  outline: 0;
  line-height: 1;
  vertical-align: middle;
}

.el-checkbox__input.is-indeterminate .el-checkbox__inner {
  background-color: #20a0ff;
  border-color: #0190fe;
}

.el-checkbox__input.is-indeterminate .el-checkbox__inner::before {
  content: '';
  position: absolute;
  display: block;
  border: 1px solid #fff;
  margin-top: -1px;
  left: 3px;
  right: 3px;
  top: 50%;
}

.el-checkbox__input.is-indeterminate .el-checkbox__inner::after {
  display: none;
}

.el-checkbox__input.is-focus .el-checkbox__inner {
  border-color: #20a0ff;
}

.el-checkbox__input.is-checked .el-checkbox__inner {
  background-color: #20a0ff;
  border-color: #0190fe;
}

.el-checkbox__input.is-checked .el-checkbox__inner::after {
  -ms-transform: rotate(45deg) scaleY(1);
  transform: rotate(45deg) scaleY(1);
}

.el-checkbox__input.is-disabled .el-checkbox__inner {
  border-color: #d1dbe5;
  cursor: not-allowed;
}

.el-checkbox__input.is-disabled .el-checkbox__inner::after {
  cursor: not-allowed;
}

.el-checkbox__input.is-disabled .el-checkbox__inner+.el-checkbox__label {
  cursor: not-allowed;
}

.el-checkbox__input.is-disabled.is-checked .el-checkbox__inner {
  background-color: #d1dbe5;
  border-color: #d1dbe5;
}

.el-checkbox__input.is-disabled.is-checked .el-checkbox__inner::after {
  border-color: #fff;
}

.el-checkbox__input.is-disabled.is-indeterminate .el-checkbox__inner {
  background-color: #d1dbe5;
  border-color: #d1dbe5;
}

.el-checkbox__input.is-disabled.is-indeterminate .el-checkbox__inner::before {
  border-color: #fff;
}

.el-checkbox__input.is-disabled+.el-checkbox__label {
  color: #bbb;
  cursor: not-allowed;
}

.el-checkbox__inner {
  display: inline-block;
  position: relative;
  border: 1px solid #bfcbd9;
  border-radius: 4px;
  box-sizing: border-box;
  width: 18px;
  height: 18px;
  background-color: #fff;
  z-index: 1;
  transition: border-color .25s cubic-bezier(.71,-.46,.29,1.46),background-color .25s cubic-bezier(.71,-.46,.29,1.46);
}

.el-checkbox__inner:hover {
  border-color: #20a0ff;
}

.el-checkbox__inner::after {
  box-sizing: content-box;
  content: "";
  border: 2px solid #fff;
  border-left: 0;
  border-top: 0;
  height: 8px;
  left: 5px;
  position: absolute;
  top: 1px;
  -ms-transform: rotate(45deg) scaleY(0);
  transform: rotate(45deg) scaleY(0);
  width: 4px;
  transition: transform .15s cubic-bezier(.71,-.46,.88,.6) .05s;
  -ms-transform-origin: center;
  transform-origin: center;
}

.el-table,
.el-table td,
.el-table th,
.el-tag {
  box-sizing: border-box;
}

.el-checkbox__original {
  opacity: 0;
  outline: 0;
  position: absolute;
  margin: 0;
  width: 0;
  height: 0;
  left: -999px;
}

.el-checkbox-button,
.el-checkbox-button__inner {
  position: relative;
  display: inline-block;
}

.el-checkbox__label {
  font-size: 14px;
  padding-left: 5px;
}

.el-checkbox-button.is-checked .el-checkbox-button__inner {
  color: #fff;
  background-color: #20a0ff;
  border-color: #20a0ff;
  box-shadow: -1px 0 0 0 #20a0ff;
}

.el-checkbox-button.is-disabled .el-checkbox-button__inner {
  color: #bfcbd9;
  cursor: not-allowed;
  background-image: none;
  border-color: #d1dbe5;
  box-shadow: none;
}

.el-checkbox-button.is-focus .el-checkbox-button__inner {
  border-color: #20a0ff;
}

.el-checkbox-button:first-child .el-checkbox-button__inner {
  border-left: 1px solid #bfcbd9;
  border-radius: 4px 0 0 4px;
  box-shadow: none!important;
}

.el-checkbox-button:last-child .el-checkbox-button__inner {
  border-radius: 0 4px 4px 0;
}

.el-checkbox-button__inner {
  line-height: 1;
  vertical-align: middle;
  background: #fff;
  border: 1px solid #bfcbd9;
  border-left: 0;
  color: #1f2d3d;
  -webkit-appearance: none;
  text-align: center;
  box-sizing: border-box;
  outline: 0;
  margin: 0;
  cursor: pointer;
  transition: all .3s cubic-bezier(.645,.045,.355,1);
  padding: 10px 15px;
  font-size: 14px;
  border-radius: 0;
}

.el-checkbox-button__inner:hover {
  color: #20a0ff;
}

.el-checkbox-button__inner [class*=el-icon-] {
  line-height: .9;
}

.el-checkbox-button__inner [class*=el-icon-]+span {
  margin-left: 5px;
}

.el-checkbox-button__original {
  opacity: 0;
  outline: 0;
  position: absolute;
  margin: 0;
  visibility: hidden;
  left: -999px;
}

.el-checkbox-button--large .el-checkbox-button__inner {
  padding: 11px 19px;
  font-size: 16px;
  border-radius: 0;
}

.el-checkbox-button--small .el-checkbox-button__inner {
  padding: 7px 9px;
  font-size: 12px;
  border-radius: 0;
}

.el-checkbox-button--mini .el-checkbox-button__inner {
  padding: 4px;
  font-size: 12px;
  border-radius: 0;
}

.el-tag {
  background-color: #8391a5;
  display: inline-block;
  padding: 0 5px;
  height: 24px;
  line-height: 22px;
  font-size: 12px;
  color: #fff;
  border-radius: 4px;
  border: 1px solid transparent;
  white-space: nowrap;
}

.el-tag .el-icon-close {
  border-radius: 50%;
  text-align: center;
  position: relative;
  cursor: pointer;
  font-size: 12px;
  -ms-transform: scale(.75,.75);
  transform: scale(.75,.75);
  height: 18px;
  width: 18px;
  line-height: 18px;
  vertical-align: middle;
  top: -1px;
  right: -2px;
}

.el-tag .el-icon-close:hover {
  background-color: #fff;
  color: #8391a5;
}

.el-tag--gray {
  background-color: #e4e8f1;
  border-color: #e4e8f1;
  color: #48576a;
}

.el-tag--gray .el-tag__close:hover {
  background-color: #48576a;
  color: #fff;
}

.el-tag--gray.is-hit {
  border-color: #48576a;
}

.el-tag--primary {
  background-color: rgba(32,160,255,.1);
  border-color: rgba(32,160,255,.2);
  color: #20a0ff;
}

.el-tag--primary .el-tag__close:hover {
  background-color: #20a0ff;
  color: #fff;
}

.el-tag--primary.is-hit {
  border-color: #20a0ff;
}

.el-tag--success {
  background-color: rgba(18,206,102,.1);
  border-color: rgba(18,206,102,.2);
  color: #13ce66;
}

.el-tag--success .el-tag__close:hover {
  background-color: #13ce66;
  color: #fff;
}

.el-tag--success.is-hit {
  border-color: #13ce66;
}

.el-tag--warning {
  background-color: rgba(247,186,41,.1);
  border-color: rgba(247,186,41,.2);
  color: #f7ba2a;
}

.el-tag--warning .el-tag__close:hover {
  background-color: #f7ba2a;
  color: #fff;
}

.el-tag--warning.is-hit {
  border-color: #f7ba2a;
}

.el-tag--danger {
  background-color: rgba(255,73,73,.1);
  border-color: rgba(255,73,73,.2);
  color: #ff4949;
}

.el-tag--danger .el-tag__close:hover {
  background-color: #ff4949;
  color: #fff;
}

.el-tag--danger.is-hit {
  border-color: #ff4949;
}

.el-table {
  position: relative;
  width: 100%;
  max-width: 100%;
  line-height: 14px;
  font-size: 14px;
  color: #1f2d3d;
  overflow: hidden;
  background-color: #fff;
  border: 1px solid #dfe6ec;
}

.el-table .el-tooltip.cell {
  white-space: nowrap;
  min-width: 50px;
}

.el-table td,
.el-table th {
  height: 40px;
  min-width: 0;
  text-overflow: ellipsis;
  vertical-align: middle;
  position: relative;
}

.el-table::after,
.el-table::before {
  content: '';
  position: absolute;
  background-color: #dfe6ec;
  z-index: 1;
}

.el-table td.is-right,
.el-table th.is-right {
  text-align: right;
}

.el-table td.is-left,
.el-table th.is-left {
  text-align: left;
}

.el-table td.is-center,
.el-table th.is-center {
  text-align: center;
}

.el-table td,
.el-table th.is-leaf {
  border-bottom: 1px solid #dfe6ec;
}

.el-table td.gutter,
.el-table th.gutter {
  width: 15px;
  border-right-width: 0;
  border-bottom-width: 0;
  padding: 0;
}

.el-table .cell,
.el-table th > div {
  box-sizing: border-box;
  text-overflow: ellipsis;
  padding-left: 10px;
  padding-right: 10px;
}

.el-table::before {
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
}

.el-table::after {
  top: 0;
  right: 0;
  width: 1px;
  height: 100%;
}

.el-table .caret-wrapper,
.el-table th > .cell {
  position: relative;
  vertical-align: middle;
  display: inline-block;
}

.el-table th {
  white-space: nowrap;
  overflow: hidden;
  text-align: left;
}

.el-table th > div {
  display: inline-block;
  line-height: 40px;
  overflow: hidden;
  white-space: nowrap;
}

.el-table td > div {
  box-sizing: border-box;
}

.el-table th.required > div::before {
  display: inline-block;
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff4d51;
  margin-right: 5px;
  vertical-align: middle;
}

.el-table th > .cell {
  word-wrap: normal;
  text-overflow: ellipsis;
  line-height: 18px;
  width: 100%;
  box-sizing: border-box;
}

.el-table th > .cell.highlight {
  color: #20a0ff;
}

.el-table .caret-wrapper {
  cursor: pointer;
  margin-left: 5px;
  margin-top: -2px;
  width: 16px;
  height: 30px;
  overflow: visible;
  overflow: initial;
}

// .el-table .cell,
.el-table__footer-wrapper,
.el-table__header-wrapper {
  overflow: hidden;
}

.el-table .sort-caret {
  display: inline-block;
  width: 0;
  height: 0;
  border: 0;
  content: "";
  position: absolute;
  left: 3px;
  z-index: 2;
}

.el-table .sort-caret.ascending,
.el-table .sort-caret.descending {
  border-right: 5px solid transparent;
  border-left: 5px solid transparent;
}

.el-table .sort-caret.ascending {
  top: 9px;
  border-top: none;
  border-bottom: 5px solid #97a8be;
}

.el-table .sort-caret.descending {
  bottom: 9px;
  border-top: 5px solid #97a8be;
  border-bottom: none;
}

.el-table .ascending .sort-caret.ascending {
  border-bottom-color: #48576a;
}

.el-table .descending .sort-caret.descending {
  border-top-color: #48576a;
}

.el-table td.gutter {
  width: 0;
}

.el-table .cell {
  white-space: normal;
  word-break: break-all;
  line-height: 18px;
}

.el-table tr input[type=checkbox] {
  margin: 0;
}

.el-table .hidden-columns {
  position: absolute;
  z-index: -1;
}

.el-table__empty-block {
  position: relative;
  min-height: 60px;
  text-align: center;
  width: 100%;
  height: 100%;
}

.el-table__empty-text {
  position: absolute;
  left: 50%;
  top: 50%;
  -ms-transform: translate(-50%,-50%);
  transform: translate(-50%,-50%);
  color: #5e7382;
}

.el-table__expand-column .cell {
  padding: 0;
  text-align: center;
}

.el-table__expand-icon {
  position: relative;
  cursor: pointer;
  color: #666;
  font-size: 12px;
  transition: transform .2s ease-in-out;
  height: 40px;
}

.el-table__expand-icon > .el-icon {
  position: absolute;
  left: 50%;
  top: 50%;
  margin-left: -5px;
  margin-top: -5px;
}

.el-table__expand-icon--expanded {
  -ms-transform: rotate(90deg);
  transform: rotate(90deg);
}

.el-table__expanded-cell {
  padding: 20px 50px;
  background-color: #fbfdff;
  box-shadow: inset 0 2px 0 #f4f4f4;
}

.el-table__expanded-cell:hover {
  background-color: #fbfdff!important;
}

.el-table--fit {
  border-right: 0;
  border-bottom: 0;
}

.el-table--border {
  border-right: none;
  border-bottom: none;
}

.el-table--border th,
.el-table__fixed-right-patch {
  border-bottom: 1px solid #dfe6ec;
}

.el-table--fit td.gutter,
.el-table--fit th.gutter {
  border-right-width: 1px;
}

.el-table--border td,
.el-table--border th {
  border-right: 1px solid #dfe6ec;
}

.el-table__fixed,
.el-table__fixed-right {
  position: absolute;
  top: 0;
  left: 0;
  box-shadow: 1px 0 8px #d3d4d6;
  overflow-x: hidden;
}

.el-table__fixed-right::before,
.el-table__fixed::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background-color: #dfe6ec;
  z-index: 4;
}

.el-table__fixed-right-patch {
  position: absolute;
  top: -1px;
  right: 0;
}

.el-table__fixed-right {
  top: 0;
  left: auto;
  right: 0;
  box-shadow: -1px 0 8px #d3d4d6;
}

.el-table__fixed-right .el-table__fixed-body-wrapper,
.el-table__fixed-right .el-table__fixed-footer-wrapper,
.el-table__fixed-right .el-table__fixed-header-wrapper {
  left: auto;
  right: 0;
}

.el-table__fixed-header-wrapper {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 3;
}

.el-table__fixed-header-wrapper thead div {
  color: #1f2d3d;
}

.el-table__fixed-footer-wrapper {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 3;
}

.el-table__fixed-footer-wrapper tbody td {
  border-top: 1px solid #dfe6ec;
  background-color: #fbfdff;
  color: #1f2d3d;
}

.el-table__fixed-body-wrapper {
  position: absolute;
  left: 0;
  top: 37px;
  overflow: hidden;
  z-index: 3;
}

.el-table__body-wrapper,
.el-table__footer-wrapper,
.el-table__header-wrapper {
  width: 100%;
}

.el-table__footer-wrapper {
  margin-top: -1px;
}

.el-table__footer-wrapper td {
  border-top: 1px solid #dfe6ec;
}

.el-table__body,
.el-table__footer,
.el-table__header {
  table-layout: fixed;
}
.el-table__body .el-table__row {
  .title-pic{
    margin-right: 8%;
    height: 83px;
    width: 83px;
  }
  .title-name{
    margin-right: 3%;
  }
  .title-link{
    display: inline-block;
    margin-right: 3%;
  }
  i.iconfont{ 
    color: #797979;
    &.icon-rizhi{
       font-size: 30px;
    }
    &.icon-bianji{
      font-size: 26px;
    }
    &.icon-shanchu{
      font-size: 26px;
    }
  }
}

.el-table__footer-wrapper thead div,
.el-table__header-wrapper thead div {
  color: #1f2d3d;
}

.el-table__footer-wrapper tbody td,
.el-table__header-wrapper tbody td {
  background-color: #fbfdff;
  color: #1f2d3d;
}

.el-table__body-wrapper {
  overflow: auto;
  position: relative;
}

.el-table--striped .el-table__body tr.el-table__row--striped td {
  background: #FAFAFA;
  background-clip: padding-box;
}

.el-table--striped .el-table__body tr.el-table__row--striped.current-row td {
  background: #edf7ff;
}

.el-table__body tr.current-row > td {
  background: #edf7ff;
}

.el-table__column-resize-proxy {
  position: absolute;
  left: 200px;
  top: 0;
  bottom: 0;
  width: 0;
  border-left: 1px solid #dfe6ec;
  z-index: 10;
}

.el-table__column-filter-trigger {
  display: inline-block;
  line-height: 34px;
  margin-left: 5px;
  cursor: pointer;
}

.el-table__column-filter-trigger i {
  color: #97a8be;
}

.el-table--enable-row-transition .el-table__body td {
  transition: background-color .25s ease;
}

.el-table--enable-row-hover .el-table__body tr:hover > td {
  background-clip: padding-box;
}

.el-table--fluid-height .el-table__fixed,
.el-table--fluid-height .el-table__fixed-right {
  bottom: 0;
  overflow: hidden;
}

.el-table {
  font-size: @font-size;

  tr {
    background-color: #fff;
    border-bottom: 1px solid @border-color;
  }

  tr:nth-child(even) {
    background-color: @bg-color;
  }

  .el-table--striped .el-table__body tr.el-table__row--striped.current-row td,
  .el-table__body tr.current-row > td,
  .el-table__body tr.hover-row > td,
  .el-table__body tr.hover-row.current-row > td,
  .el-table__body tr.hover-row.el-table__row--striped > td,
  .el-table__body tr.hover-row.el-table__row--striped.current-row > td {
    background-color: #ecf5ff;
  }

  td,
  th {
    position: relative;
    min-width: 100px;
    padding: 11px 0;
    vertical-align: middle;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
  }

  th {
    background-color: #f9fafc;
  }

  .el-table-column--selection {
    text-align: center;
  }

  .count {
    text-align: center;
  }

  a {
    padding: 5px;
    color: @base-color;

  }
  // 禁用
  .disable {
    color: @disable-color;
    cursor: not-allowed;
  }
  // 原因
  .reason {
    color: @warning-color;
  }
  // 通过
  .pass {
    color: @warning-color;
  }
  // 拒绝
  .refuse {
    color: @danger-color;
  }
  // 状态
  .state {
    color: @state-color;
  }

  .tips-box {
    position: relative;

    .desc {
      position: absolute;
      top: 18px;
      right: 0;
      z-index: 100;
      display: none;
      width: 280px;
      padding: 10px;
      line-height: 18px;
      word-break: break-all;
      word-wrap: break-word;
      background-color: #fff;
      box-shadow: 0 1px 5px rgba(0,0,0,.18);
    }

    &:hover {
      .desc {
        display: block;
      }
    }
  }
}

.el-table {
  .el-checkbox {
    margin: 0;
    line-height: 20px;
  }
}

.panel-table {
  padding-left: 20px;
  padding-right: 20px;

  .el-table {
    margin-bottom: 20px;
  }

  .el-pagination {
    padding-top: 0;
  }
}

.table-tool {
  padding: 0 20px 20px;

  .el-table {
    margin-bottom: 0;

    td,
    th {
      padding: 5px 0;
    }
  }

  .el-input__inner {
    background-color: transparent;
    border-width: 0;
    border-bottom: 1px solid @border-color;
    border-radius: 0;

    &:focus {
      border-color: @base-color;
    }
  }

  .el-select__caret {
    margin-top: 7px;
  }

  .table-footer {
    padding: 10px 20px;
    line-height: 16px;
    text-align: center;
    border: 1px solid @border-color;
    border-top-width: 0;

    .add {
      line-height: 16px;
      font-size: 14px;
      color: @base-color;
    }
  }
}
@import 'pagination.less';